<template>
<div>
    <header class="navbar">
        <div class="nav-wrap-left">
            <!-- <a  class="back" href="#" onclick="javascript: window.history.back();return false;">
                <i class="icon-back"></i>
            </a> -->
        </div>
        <span  class="nav-header">{{title}}</span>
        <div @click="shownav" class="nav-wrap-right">
            <div class="nav-button">
                <img src="//p0.meituan.net/scarlett/f05f61e7a8f3f45fd071c068d7a26870356.png" class="nav-icon" alt="">
            </div>
        </div>
        <div class="nav-list" v-if="ishow">
      <div class="nav-item">
        <a href="/">首页</a>
      </div>
       <div class="nav-item">
        <a href="/">首页</a>
      </div>
       <div class="nav-item">
        <a href="/">首页</a>
      </div>
       <div class="nav-item">
        <a href="/">首页</a>
      </div>
    </div>
    </header>

    <div class="body" style="">

<div class="my-center">
    <div class="header ">
        <img src="https://img.meituan.net/maoyanuser/63957f10ae9679c95d4ba26ad1bd29c816882.png" class="head-icon">
        <div class="name"></div>
    </div>
    <div class="container">
        <div class="group">
            <div class="mb-outline-tb">
                <div class="orders">
                    <div class="title">我的订单</div>
                    <div class="mb-outline-b title-line"></div>
                    <div class="list list-two">
                    <!-- TODO 演出开发完毕后，改成下面注释内容 -->
                    <!-- <div class="list list list-three"> -->
                        <div class="order-item movie">
                            <a data-type="mip" href="javascript:;"><p>电影</p></a>
                        </div>
                        <!-- TODO 演出开发完毕后，改成下面注释内容 -->
                        <!--                             <div class="order-item show"><a data-link="https://m.maoyan.com/myshow/fe/movieshoworder/order-list.html?fromTag=ordercenter"><p>演出</p></a></div>
 -->
 
                        <div class="order-item store"><a data-link="https://store.maoyan.com/mmall/order/list?$from=canary&amp;token=$bOuH_aXEhwU-jlbO4dR6fPORkK4AAAAAKQ0AAKAQIWyrazm0ocMm7uK9tagxcYQ2JW5yVS3Eo48yknFsB4ZecJnUFNbOpQ2kRmirCQ"><p>商城</p></a></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="group">
            <div class="mb-outline-tb">
                    <div class="coupon item mb-line-b"><a data-link="/myCoupon?$from=canary"><span>优惠券</span></a></div>
                    <div class="membercard item mb-line-b"><a data-link="/multiplecard/mylist?$from=canary"><span>折扣卡</span></a></div>
            </div>
        </div>

    </div>
</div>


  </div>
</div>
</template>
<script>
import Vue from 'vue'
import {Field, CellGroup, Button, Toast} from 'vant'
import axios from 'axios'
import qs from "qs"							//qs引用
import { mapMutations } from 'vuex'
Vue.prototype.$qs=qs;


//   import api from 'api/api_lib'  // api换成自己的

  export default {
    name: 'login',
    data () {
      return {
       title: '我的',
      ishow: false
      }
    },
    components: {
    
    },
    methods: {
        shownav () {
      this.ishow = !this.ishow
    },
    ...mapMutations('Showhidebar',['toplogohide','topbarhide','buttomhide','toplogoshow','topbarshow','buttomshow']),
    
    },
    mounted () {
    this.toplogohide()
    this.topbarhide()
    // this.buttomhide()
    },
    beforeDestroy () {
    this.toplogoshow()
    this.topbarshow()
    document.querySelector('body').removeAttribute('style')
    // this.buttomshow()
    },
    beforeCreate () {

    document.querySelector('body').setAttribute('style', 'background-color:#f3f3f3')

}
  }
</script>

<style scoped>
.body, body, html {
    height: 100%;
}
.body_back{
    background-color: #f3f3f3;
}
.my-center {
    min-height: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}
.my-center .header img {
    display: inline-block;
    margin-top: 30px;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    border: 3px solid #fff;
}
.my-center .header .name {
    margin-top: 7px;
    font-size: 16px;
    line-height: 22.5px;
    color: #fff;
}
.my-center .header {
    background-color: #ff5f16;
    background-image: url(/bs/file/?f=myfe/canary:static/deploy/dpmmweb/client/dpmmweb/component/mycenter/img/bg.png);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 150px;
    height: 150px;
    overflow: hidden;
    text-align: center;
}
.my-center .group .order-item a {
    display: block;
    height: 90px;
}
.my-center .group .orders .list .order-item.movie {
    background-image: url(https://s0.meituan.net/bs/file/?f=myfe/canary:static/deploy/dpmmweb/client/dpmmweb/component/mycenter/img/movie.png);
}
.my-center .group .orders .list .order-item.store {
    background-image: url(https://s0.meituan.net/bs/file/?f=myfe/canary:static/deploy/dpmmweb/client/dpmmweb/component/mycenter/img/store.png);
}
.my-center .group .order-item a p {
    position: relative;
    top: 53px;
    text-align: center;
    font-size: 15px;
    line-height: 21px;
    height: 21px;
    margin: 0;
    color: #333;
}
.container {
    -webkit-box-flex: 1;
    flex: 1;
}
.my-center .group {
    margin-top: 10px;
    background: #fff;
}
@media (-webkit-min-device-pixel-ratio: 2), (-webkit-min-device-pixel-ratio: 3){
.mb-line-all, .mb-line-b, .mb-line-l, .mb-line-lr, .mb-line-r, .mb-line-t, .mb-line-tb, .mb-outline-b, .mb-outline-t, .mb-outline-tb {
    background-size: 1px 1px;
}
}
.mb-outline-tb {
    background: url() 0 top repeat-x,url() 0 bottom repeat-x;
}
.my-center .group .item {
    position: relative;
    height: 44px;
    line-height: 44px;
    font-size: 15px;
    margin-left: 15px;
    padding-right: 15px;
}
.my-center .group .orders {
    padding: 0 15px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.my-center .group .title {
    position: relative;
    margin: 13px 0 0;
    font-size: 15px;
    line-height: 21px;
    height: 21px;
    color: #333;
    z-index: 9;
    display: inline-block;
    width: 80px;
    background-color: #fff;
}
.my-center .group .title-line {
    position: absolute;
    top: 23px;
    left: 50%;
    margin-left: -80px;
    width: 160px;
    height: 1px;
}
.my-center .group .list {
    overflow: hidden;
    width: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}
.my-center .group .list.list-two .order-item {
    width: 50%;
}
.my-center .group .order-item {
    width: 25%;
    height: 97px;
    background-repeat: no-repeat;
    background-position: top;
    background-size: 42px auto;
    margin-top: 18px;
}

 .navbar {
    height: 50.5px;
    color: #fff;
    background: #ff5f16;
    border-bottom: 1px solid #ff5f16;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-box;
    position: relative;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
}
.navbar:not(.icbcback) span.nav-header {
    margin-left: 52.5px!important;
}
.navbar .nav-wrap-left, .navbar .nav-wrap-right {
    height: 50.5px;
    line-height: 50.5px;
}
.navbar .h1.nav-header, .navbar span.nav-header {
    display: block;
    -webkit-box-flex: 1;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    line-height: 50px;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.navbar .nav-wrap-right {
    width: 52.5px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: flex-end;
}
.navbar .nav-wrap-left, .navbar .nav-wrap-right {
    height: 50.5px;
    line-height: 50.5px;
}
.nav-wrap-left a.back {
    height: 50px;
    width: 22.5px;
    line-height: 50px;
    padding: 0 15px;
}
.icon-back {
    display: inline-block;
    width: 22.5px;
    height: 22.5px;
    vertical-align: middle;
    position: relative;
    font-style: italic;
}
.icon-back:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    -webkit-transform: rotate(
45deg
);
    transform: rotate(
45deg
);
}
.navbar .nav-wrap-right img {
    width: 17px;
    height: 16px;
    margin-right: 12px;
    display: block;
    border: 0;
}

.nav-list {
    position: absolute;
    top: 46px;
    right: 12px;
    width: 110px;
    background-color: #fff;
    z-index: 20;
    box-shadow: 0 3px 9px 0 rgb(0 0 0 / 10%);
}
.nav-list .nav-item {
    height: 45.5px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.nav-list .nav-item a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    line-height: 45.5px;
}
body {
    background-color: #f3f3f3 !important;
}
</style>